export default {
  beginAnswer:{//开始答卷
    url: '/qa/answer/begin',
    require:['token','clientid','instanceId']
  },
  finishAnswer:{//结束答卷
    url: '/qa/answer/finish',
    require:['token','clientid','answerId']
  },
  updateAnswer:{//更新答卷，用于生成分数后保存
    url: '/qa/answer/update',
    require:['token','clientid','answerId']//data
  },
  getUserAnswers:{//获取用户在该实例下的所有答卷
    url: '/qa/answer/getUserAnswers',
    require:['token','clientid','instanceId']
  },
  getAnswer:{//获取答卷
    url: '/qa/answer/get',
    require:['token','clientid','answerId']
  },
  getAnswerList:{//获取答卷列表
    url: '/qa/answer/list',
    require:['token','clientid']
  },
  getAnswerListByPage:{//获取答卷列表-分页
    url: '/qa/answer/listByPage',
    require:['token','clientid']//page、size(选)、instanceId(选)、userId(选)、finished(选)、begin(选)、finish(选)
  },
  saveAnswerPage:{//保存答卷页面
    url: '/qa/answerPage/save',
    require:['token','clientid','answerPageId','metadata']
  },
  getAnswerPage:{//获取答卷页面
    url: '/qa/answerPage/get',
    require:['token','clientid','answerPageId']
  },
  getInstanceAnswers:{//获取指定实例下的所有答卷
    url: '/qa/answer/listByInstanceId',
    require:['token','clientid']
  },
}
